package com.atguigu.day14.enum01.e2;
/*
jdk5之前实现枚举:
        1.构造器私有
        2.显示提供对应的值
 */
public enum Season {
    SPRING("春天","春暖花开"),
    SUMMER("夏天","烈日炎炎"),
    AUTUMN("秋天","秋高气爽"),
    WINTER("冬天","寒风烈烈");
    private String seasonName;
    private String seasonDesc;
     Season(String seasonName, String seasonDesc) {
        this.seasonName = seasonName;
        this.seasonDesc = seasonDesc;
    }

  /*  @Override
    public String toString() {
        return "Season{" +
                "seasonName='" + seasonName + '\'' +
                ", seasonDesc='" + seasonDesc + '\'' +
                '}';
    }*/
}
